cd ~
if [ ! -d "~/install" ]; then
  mkdir install
fi
cd install
apt-get update
apt-get install openssl
apt-get install libssl-dev
wget https://www.python.org/ftp/python/3.5.0/Python-3.5.0.tgz
tar xf Python-3.5.0.tgz
cd Python-3.5.0
./configure --prefix=/usr/local --enable-shared
make
make install
echo /usr/local/lib >> /etc/ld.so.conf.d/local.conf
ldconfig